home *** CD-ROM | disk | FTP | other *** search
- global gpTestSound1, gpTestSound2, gpTestSprite
-
- on startMovie
- clearGlobals()
- initCustomButtons()
- if the machineType < 256 then
- set gpTestSound1 to "DogDisc:data:breeds:herding:auscdhe:auscdhe7.aif"
- set gpTestSound2 to "DogDisc:data:breeds:herding:collihe:collihe7.aif"
- else
- set theCDvolume to findVolume("cookie68.trd")
- set gpTestSound1 to theCDvolume & "\data\breeds\herding\auscdhe\auscdhe7.aif"
- set gpTestSound2 to theCDvolume & "\data\breeds\herding\collihe\collihe7.aif"
- end if
- set gpTestSprite to 12
- end
-
- on handleLinkedPICT
- waitCursor()
- updateStage()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of cast "linked.pic"
- updateStage()
- pointerCursor()
- end
-
- on handleImportedPICT
- waitCursor()
- updateStage()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of cast "imported.pic"
- updateStage()
- pointerCursor()
- end
-
- on handleQTWithSound
- waitCursor()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of cast "audio.mov"
- updateStage()
- set the movieTime of sprite gpTestSprite to 0
- set the movieRate of sprite gpTestSprite to 1
- set the sound of cast the number of cast "audio.mov" to 1
- pointerCursor()
- end
-
- on handleQTNoSound
- waitCursor()
- puppetSprite(gpTestSprite, 1)
- set the castNum of sprite gpTestSprite to the number of cast "noaudio.mov"
- updateStage()
- set the movieTime of sprite gpTestSprite to 0
- set the movieRate of sprite gpTestSprite to 1
- pointerCursor()
- end
-
- on handleSoundChannel1
- waitCursor()
- sound playFile 1, gpTestSound1
- pointerCursor()
- end
-
- on handleSoundChannel2
- waitCursor()
- sound playFile 2, gpTestSound2
- pointerCursor()
- end
-
- on handlePuppetSound
- waitCursor()
- puppetSound("import.aif")
- pointerCursor()
- end
-